package com.atgouwu.mall.search.feign;

import com.atgouwu.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

//openfeign远程调用:search调product
@FeignClient("product")
public interface ProductFeignService {

    @GetMapping("/product/attr/attrInfo/{attrId}")
    public R attrInfo(@PathVariable("attrId") Long attrId);

}
